projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4becd25
)
open-with-widget: don't forget to set the search column
author
Cosimo Cecchi
<cosimoc@gnome.org>
Fri, 19 Nov 2010 12:08:20 +0000
(13:08 +0100)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Tue, 23 Nov 2010 15:51:40 +0000
(16:51 +0100)
Otherwise find-as-you-type won't work at all.
gtk/gtkopenwithwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkopenwithwidget.c
b/gtk/gtkopenwithwidget.c
index 15ab1b90dd598f443ad17d15c893cda2a053c839..f93f71129ad6eda9e6bd22ca8d290375f24b50a7 100644
(file)
--- a/
gtk/gtkopenwithwidget.c
+++ b/
gtk/gtkopenwithwidget.c
@@
-681,6
+681,8
@@
gtk_open_with_widget_add_items (GtkOpenWithWidget *self)
COLUMN_NAME,
gtk_open_with_sort_func,
self, NULL);
+ gtk_tree_view_set_search_column (GTK_TREE_VIEW (self->priv->program_list),
+ COLUMN_NAME);
gtk_tree_view_set_search_equal_func (GTK_TREE_VIEW (self->priv->program_list),
gtk_open_with_search_equal_func,
NULL, NULL);